Let two further tests tolerate col info in panics
authorest31 <MTest31@outlook.com>
Sun, 2 Jul 2017 13:38:29 +0000 (15:38 +0200)
committerest31 <MTest31@outlook.com>
Sun, 2 Jul 2017 13:38:29 +0000 (15:38 +0200)
Needed by https://github.com/rust-lang/rust/pull/42938

I've now ripgrepped for "panicked at" and found no further
test that hardcodes the "filename:line$" format.

tests/test.rs

index 6e6faed3f2d34d8d634b74daf78a54d138d63d01..ca37364bfabaea92e52ca74f2987e564f67fcaad 100644 (file)
@@ -263,7 +263,7 @@ failures:
 
 ---- test_hello stdout ----
 <tab>thread 'test_hello' panicked at 'assertion failed: false', \
-      tests[/]footest.rs:4
+      tests[/]footest.rs:4[..]
 ")
                        .with_stdout_contains("\
 failures:
@@ -295,7 +295,7 @@ failures:
 
 ---- test_hello stdout ----
 <tab>thread 'test_hello' panicked at 'assertion failed: false', \
-      src[/]lib.rs:4
+      src[/]lib.rs:4[..]
 ")
                        .with_stdout_contains("\
 failures: